(DO NOT MERGE) Android CI disk space experiments#108
(DO NOT MERGE) Android CI disk space experiments#108mhsmith wants to merge 12 commits intofreakboy3742:mainfrom
Conversation
|
The initial available disk space was 19 GB (GitHub only guarantees 14), and reducing it to 14 before running cibuildwheel was enough to reproduce the error. |
|
Although not guaranteed, the runner currently comes with a second disk at /mnt with 66 GB free. We can move ~/.gradle and ~/.android there, which saves about 2.5 GB: Removing unused versions of the NDK would save about 2 GB each. According to GitHub's support policy, there will always be at least 3 NDK versions (hence 2 unused), but currently there are 4: However, the biggest offender is the emulator image we're using, which is for some reason way bigger than all the other Android versions and variants. It shows as 8 GB on GitHub, and it's the same on my Mac: Based on that, we should switch to Some or all of these changes should be made in the CPython Android test script, which will be picked up by cibuildwheel after the next CPython release. |
Trying to reproduce the errors from pybind/pybind11#5914 and CPython, which look like this: